import store from "../store";
import Vue from 'vue';
import App from './App.vue';
import router from '../router/router-instance';
import { appRegister } from '../../../config/appServies'

/* 三方组件注册start */
// element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 图片裁剪
import VueCropper from 'vue-cropper'

// 手写签名(vue2请下载2.0.4版本)
import VueSignaturePad from "vue-signature-pad";

// 打印
import 'print-js' // 引入print-js

Vue.use(VueCropper)
Vue.use(VueSignaturePad)
Vue.use(ElementUI)
/* 三方组件注册end */

const appOptions = {
    el: `#${appRegister.vueApp.id}`,
    render: (h) => h(App),
    router,
    store
}

Vue.config.productionTip = false;

export default appOptions;